<div class="page_title"><?php echo __('Log in the web site'); ?></div>

<form action="<?php echo url_for('checkLogin'); ?>" method="post" id="loginForm">
    <ul>
<?php foreach ($form as $widget): ?>
    <?php if ($widget->hasError()): ?>
            <li class='error'><?php echo $widget->getError(); ?></li>
    <?php endif; ?>
    <?php if (!$widget->isHidden()) { ?>
            <li><span class="label"><?php echo $widget->renderLabel(); ?></span>
                <?php echo $widget->render() ?></li>
    <?php } else { ?>
            <li><?php echo $widget->render() ?></li>
    <?php } ?>
<?php endforeach; ?>
    </ul>
    <p><input type="submit" id='submit' value="<?php echo __('Log in'); ?>" /></p>
    <p><a href="<?php echo url_for('passLost'); ?>"><?php echo __('Password lost'); ?></a> -
    <a href="<?php echo url_for('register'); ?>"><?php echo __('Create your account'); ?></a>
    </p>
</form>